package com.group3.merchant.dao;

import java.util.List;

import com.group3.entity.Dish;

public interface IDishDao {

	//query所有Dish
	List<Dish> queryAllDish();
	
	//根据菜的Id来detail菜
	Dish queryBydId(String did);
	
	//根据菜的type来list
	List<Dish> queryBy(String mid,String pid);
	
	//根据商家Id来query所有菜
	List<Dish> queryByMId(String mid);
	
	//添加菜单
	Dish insertDish(Dish dish);
	
	//修改菜
	Dish updateDish(Dish dish);
	
	//删除菜
	int deleteDish(Dish dish);
	
	
}
